# 成员运算符

# in / not in 检测成员是否存在
# s = 'iloveyousimida'
# s = ['love', 'io', 'you']
# s = ('love', 'io', 'you')
# s = {'love', 'io', 'you'}
# 检查 love 字符串是否存在于s字符串中
# 如果是字典类型只能检测键
# print('love' in s) # True

a = 10
b = 10
c = 11
print(id(a), id(b), id(c)) # 2025158607376 2025158607376 2025158607408
print(a is b, a is c) # True False



